# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo07
# Description:
# Author:       98745
# Date:         2019/3/3
#-------------------------------------------------------------------------------

while True:
    try:
        x=int(input('请输入分子：'))
        y=int(input('请输入分母：'))
        print('x/y is {}'.format(x/y))
    except Exception as e:
        print('不正确的输入',e)
        print('请重新输入')
    else:
        break;
